﻿@page "/"

<h1>Hello, world!</h1>

Welcome to your new app.
<AuthorizeView>
    <Authorized>
        @{
            var claims = context.User.Claims.ToList();
        }
        <h1>Hello @context.User.Claims.First().Value</h1>
    </Authorized>
</AuthorizeView>

<SurveyPrompt Title="How is Blazor working for you?" />


<form action  ="api/user/login"  method="post">
    <input name ="Id" type ="text" />  
    <input name ="name" type ="text" />  
    <input name ="email" type ="text" />  
    <input type="submit" />
</form>